﻿import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: '',
        component: ()=> import('@/components/H1.vue')
    },
    {
        path: '/H1',
        name: '',
        component: ()=> import('@/components/H1.vue')
    },
    {
        path: '/H2',
        name: 'H2',
        component: ()=> import('@/components/H2.vue')
    },
    {
        path: '/H3',
        name: 'H3',
        component: ()=> import('@/components/H3.vue')
    },
    {
        path: '/HelloWorld',
        name: 'HelloWorld',
        component: ()=> import('@/components/HelloWorld.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router